package fr.bull.learn.thread.task;

import java.math.BigInteger;

/**
 * Implements fiboTask with BigInteger
 * @author Rouviere-X
 *
 */
public class FiboBigInteger extends FiboTask<BigInteger>{

	@Override
	protected BigInteger add(BigInteger a, BigInteger b) {
		return a.add(b);
	}

	@Override
	protected BigInteger getZero() {
		return BigInteger.ZERO;
	}

	@Override
	protected BigInteger getOne() {
		return BigInteger.ONE;
	}

}
